package refactor.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import common.bean.DeviceBean;
import common.dto.RealStatusDto;
import refactor.entity.Device;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 记录各个系统模块设备的相关信息 服务类
 * </p>
 *
 * @author 杨健
 * @since 2019-08-19
 */
public interface IDeviceService extends IService<Device> {
    int lotInsert(List<Device> devList);
    IPage<Device> pageList(Integer pageNum, Integer modId, Integer devId, Integer facId, String condition, DeviceBean info);
    HashMap<String, RealStatusDto> getreadData(List<Integer> eleIds, List<Integer> waterIds, List<Integer> menjinIds, List<Integer> yanganIds);
}
